﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcThongTinKhoaHoc.ascx.cs" Inherits="STT.Profile.UserControls.ThongTinKhoaHoc" %>
<link href="../css/bootstrap.css" rel="stylesheet" />
<link href="../css/style.css" rel="stylesheet" />
<style>
    .pagecontents { 
        font-family: Arial, sans-serif;
        font-size: 13px;
        color: #746a6a;
        line-height: 24px;
    }
    .textnd { 
        font-family: Arial, sans-serif;
        font-size: 13px;
        color: #444;
        line-height: 24px;
    }
    p { 
        font-weight:100;
    }
    /*.icon { 
        float:left;
        padding-right:10px;    
    }*/
      .listkh { 
        float:left;
        padding-left:3px;
    }
    .listkhlq { 
        padding-left: 11px;
        padding-top:5px;
    }
        .listkhlq .icon { 
            float:left;
        }
</style>
<div id="biography" class="page home">
    <div class="pagecontents">
          <asp:Panel ID="pnchitietkhoahoc" runat="server" Visible="false">
          <div style="margin-top:30px;">
              <asp:DataList ID="dtlndkh" runat="server" RepeatColumns="1" Width="90%">
                  <ItemTemplate>
                      <div align="center">
                      <h2 class="title"><span id="Span1" style="color:#444">Nội dung khóa học : <%# Eval("TenKhoaHoc") %></span></h2>  
                          <br />
                      </div>                          
                     <div style="width:100%;height:100%; text-align:justify" class="row">
                         <div class="col-md-4">
                             <asp:Label ID="Label3" runat="server" Text="Thời gian bắt đầu :"></asp:Label>
                             <asp:Label ID="lbltgbd" CssClass="textnd" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Thoigianbatdau","{0:MM/dd/yyyy}") %>'></asp:Label>
                         </div>
                          <div class="col-md-4">
                              <asp:Label ID="Label4" runat="server" Text="Thời gian kết thúc :"></asp:Label>
                              <asp:Label ID="lbltgkt" CssClass="textnd" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"ThoiGianKetThuc","{0:MM/dd/yyyy}") %>'></asp:Label>
                         </div>
                          <div class="col-md-4">
                               <asp:Label ID="Label5" runat="server" Text="Địa Điểm:"></asp:Label>
                            <asp:Label ID="lbldiadiem" CssClass="textnd" runat="server" Text='<%# Eval("DiaDiemHoc") %>'></asp:Label>
                         </div>
                    </div>
                      <br />
                      <div class="row">
                           <asp:Label ID="lblnd" CssClass="noidungct" runat="server" Text='<%# HttpUtility.HtmlDecode((string)Eval("NoiDung")) %>'></asp:Label>
                      </div> 
                  </ItemTemplate>  
              </asp:DataList>
        </div>
       </asp:Panel>
    </div>
    <br />
    <div style="width: 48%;float:left;margin-bottom:10px" align="left">
         <div class="">
            <span style="font-size:13px;color:#444;font-weight:bolder">Các khóa học trước đó :</span>                                
        </div>
        <div>
             <asp:DataList ID="dtlkhoahoclq" runat="server" CssClass="dllkhlq" OnItemCommand="dtlkhoahoclq_ItemCommand" DataKeyField="MaKhoaHoc" Width="100%" BorderWidth="0">
                <ItemTemplate>
                    <div align="left" class="listkhlq" >
                        <div class="icon">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/img/rarrow.png" />
                       </div>
                        <div class="listkh">
                           <%-- <asp:HyperLink ID="Hykhoahoc" runat="server" Text='<%# Eval("TenKhoaHoc") %>' ToolTip='<%# Eval("TenKhoaHoc") %>' NavigateUrl='<%# "~/Profile/Default.aspx?mod=TTKH1411"%>'></asp:HyperLink>--%>
                            <asp:LinkButton ID="lbtchitietkh" Text='<%# Eval("TenKhoaHoc") %>' ToolTip='<%# Eval("TenKhoaHoc") %>' CommandName="Lbtchitiet" runat="server"></asp:LinkButton>
                        </div>
                    </div>
                </ItemTemplate>
             <ItemStyle BorderWidth="0" />
            </asp:DataList>
        </div>
    </div>
    <div style="width: 50%;float:left;margin-bottom:10px" align="left">
         <div class="">
            <span style="font-size:13px;color:#444;font-weight:bolder">Khóa học hiện tại:</span>                                
        </div>
        <div>
             <asp:DataList ID="dtlkhoahochientai" runat="server" CssClass="dllkhlq" OnItemCommand="dtlkhoahochientai_ItemCommand" DataKeyField="MaKhoaHoc" Width="100%" BorderWidth="0">
                <ItemTemplate>
                    <div align="left" class="listkhlq" >
                        <div class="icon">
                            <asp:Image ID="Image1" runat="server" ImageUrl="~/img/rarrow.png" />
                       </div>
                        <div class="listkh">
                           <%-- <asp:HyperLink ID="Hykhoahoc" runat="server" Text='<%# Eval("TenKhoaHoc") %>' ToolTip='<%# Eval("TenKhoaHoc") %>' NavigateUrl='<%# "~/Profile/Default.aspx?mod=TTKH1411"%>'></asp:HyperLink>--%>
                            <asp:LinkButton ID="lbtchitietkh" Text='<%# Eval("TenKhoaHoc") %>' ToolTip='<%# Eval("TenKhoaHoc") %>' CommandName="Lbtchitietkhht" runat="server"></asp:LinkButton>
                        </div>
                    </div>
                </ItemTemplate>
             <ItemStyle BorderWidth="0" />
            </asp:DataList>
        </div>
    </div>
</div>